package com.examine.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 审核日志表
 * </p>
 *
 * @author rick
 * @since 2022-12-13 11:23:15
 */
@Getter
@Setter
@TableName("wk_crm_examine_log")
@ApiModel(value = "CrmExamineLog对象", description = "审核日志表")
public class CrmExamineLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(value = "log_id", type = IdType.AUTO)
    private Long logId;

    @ApiModelProperty("审批记录ID")
    @TableField("record_id")
    private Integer recordId;

    @ApiModelProperty("审核步骤ID")
    @TableField("examine_step_id")
    private Long examineStepId;

    @ApiModelProperty("审核状态 0 未审核 1 审核通过 2 审核拒绝3 撤回审核")
    @TableField("examine_status")
    private Integer examineStatus;

    @ApiModelProperty("创建人")
    @TableField("create_user")
    private Long createUser;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("审核人")
    @TableField("examine_user")
    private Long examineUser;

    @ApiModelProperty("审核时间")
    @TableField("examine_time")
    private LocalDateTime examineTime;

    @ApiModelProperty("审核备注")
    @TableField("remarks")
    private String remarks;

    @ApiModelProperty("是否是撤回之前的日志 0或者null为新数据 1：撤回之前的数据")
    @TableField("is_recheck")
    private Integer isRecheck;

    @TableField("order_id")
    private Integer orderId;


}
